package com.qmscy.sparrow.domain;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 全局配置
 *
 * @Author: wangxiaonan
 * @Date: 2019/1/6
 **/
@Entity
@Table(name = "spr_config_global")
@Data
public class GlobalConfig implements Serializable {
    private static final long serialVersionUID = -1327444767391393802L;

    @Id
    @Column(name = "f_key", unique = true, nullable = false)
    private String key;
    @Column(name = "f_value", nullable = false)
    private String value;
}
